/* miniprogram/pages/ar-culture/ar-culture.wxss */
.ar-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60vh;
}

.loading-text {
  margin-top: 20rpx;
  font-size: 28rpx;
  color: #999;
}

.error {
  padding: 40rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60vh;
}

.error-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40rpx;
}

.error-icon {
  font-size: 80rpx;
  margin-bottom: 20rpx;
}

.error-title {
  font-size: 36rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 10rpx;
}

.error-text {
  font-size: 28rpx;
  color: #666;
  text-align: center;
  margin-bottom: 60rpx;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  flex-direction: row;
  gap: 20rpx;
}

.retry-btn, .cancel-btn {
  padding: 20rpx 40rpx;
  border-radius: 10rpx;
  font-size: 28rpx;
}

.retry-btn {
  background-color: #0066FF;
  color: white;
}

.cancel-btn {
  background-color: #f0f0f0;
  color: #333;
}

.ar-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.camera-container {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.model-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.model-3d {
  width: 300rpx;
  height: 300rpx;
  transition: transform 0.3s ease;
}

.camera-controls {
  position: absolute;
  bottom: 20rpx;
  left: 20rpx;
  display: flex;
  flex-direction: column;
  gap: 20rpx;
}

.camera-btn {
  padding: 16rpx 24rpx;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 8rpx;
  font-size: 24rpx;
  display: flex;
  align-items: center;
  gap: 10rpx;
}

.model-controls {
  position: absolute;
  bottom: 20rpx;
  right: 20rpx;
  display: flex;
  flex-direction: column;
  gap: 20rpx;
}

.control-btn {
  padding: 16rpx 24rpx;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border-radius: 8rpx;
  font-size: 24rpx;
  display: flex;
  align-items: center;
  gap: 10rpx;
}

.ar-button-container {
  display: flex;
  justify-content: center;
  margin: 30rpx 0;
}

.ar-button {
  padding: 24rpx 48rpx;
  background-color: #0066FF;
  color: white;
  border-radius: 12rpx;
  font-size: 32rpx;
  display: flex;
  align-items: center;
  gap: 15rpx;
}

.info-panel {
  padding: 30rpx;
  background-color: white;
  margin: 20rpx;
  border-radius: 16rpx;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
}

.building-name {
  font-size: 36rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 20rpx;
}

.building-desc {
  font-size: 28rpx;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30rpx;
}

.audio-controls {
  border-top: 1rpx solid #eee;
  padding-top: 30rpx;
}

.audio-title {
  font-size: 30rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 20rpx;
}

.audio-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20rpx;
}

.audio-btn {
  padding: 16rpx 32rpx;
  border: 1rpx solid #0066FF;
  border-radius: 8rpx;
  font-size: 26rpx;
  background-color: transparent;
  color: #0066FF;
}

.audio-btn.active {
  background-color: #0066FF;
  color: white;
}

.audio-btn[disabled] {
  border-color: #ccc;
  color: #ccc;
}

.play-btn {
  padding: 16rpx 32rpx;
  background-color: #0066FF;
  color: white;
  border-radius: 8rpx;
  font-size: 26rpx;
}

.no-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60rpx 40rpx;
  text-align: center;
}

.no-content-icon {
  font-size: 100rpx;
  margin-bottom: 30rpx;
}

.no-content-text {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 20rpx;
}

.no-content-subtext {
  font-size: 26rpx;
  color: #999;
}

.icon {
  font-size: 32rpx;
}